import Rules from './Rules';

const { COMMON_RULE, PHONE_RULE, LENGTH_RULE } = Rules;

export const userCreateRule = {
  nickname: COMMON_RULE().concat(LENGTH_RULE(1, 20)),
  phone: COMMON_RULE(),
  avatar:COMMON_RULE(),
};
